var gridview = (function () {
    var viewModel = null;
    
    var run = function () {
       
        //init view model
        var data = {
            LineItems: repository.lineitem.getAll()
        };

        viewModel = new GridViewViewModel(data);
        ko.applyBindings(viewModel, $('#gridView')[0]);
        
    };

    return {
        run: run,
        viewModel: viewModel
    };
})();